package Main.Latex;

import Main.FileUtils.FileUtil;

import java.util.Collections;
import java.util.List;

public class Main {
    public static void main(String[] args) {
        String[] strs = {"D:\\ResearchData\\HD\\source","D:\\ResearchData\\HD\\target","D:\\ResearchData\\HD\\PBFN_stage1_test"
                ,"D:\\ResearchData\\HD\\RAFT_stage1_changeSample_norm_grid_add_localcorre_test","D:\\ResearchData\\HD\\RAFT_stage1_changeSample_norm_grid_upsample_add_localcorre3"
                ,"D:\\ResearchData\\HD\\RAFT_stage1_change_sample_norm_grid_add_featureAlign_test","D:\\ResearchData\\HD\\RAFT_stage1_changeSample_norm_grid_upsample_corre_add_localcorre_test"};
        DefaultImageLatex defaultImageLatex = new DefaultImageLatex("C:\\Users\\ruanjie\\Desktop\\latexFiles\\1");
        for (String s : strs){
            List<String> fileNameList = FileUtil.filesToAbsPathList(s);
            defaultImageLatex.addFileList(fileNameList);
        }

        defaultImageLatex.setMiniPageWidth("0.12");
        defaultImageLatex.createFiles();
    }
}
